home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 4377 / text0000.txt < prev   
Encoding:
Text File  |  1996-08-05  |  940 b   |  26 lines

  1. Stephan Schaem writes
  2. > if you cross that scale factor [2]
  3. > you switch prescaled texture. So basicly 1 screen pixel can have upto 4
  4. > pixel from the texture mixed.
  5.  
  6. Important note: If you prescale the textures anyway, you might want to 
  7. waste some time on doing it the matemathically correct way.
  8. Instead of simply adding 4 pixels with equal weigths, you should add *9*
  9. pixels like this:
  10. 1/16 1/8  1/16
  11.                                           1/4  1/4
  12. 1/8  1/4  1/8       instead of simply
  13.                                           1/4  1/4
  14. 1/16 1/8  1/16
  15.  
  16. This corresponds to performing a 'gaussian blur' and then doing a raw 
  17. scale. It looks *MUCH* better.
  18.  
  19. Johan
  20. --
  21.    _     _              ____           _
  22.  _| |___| |_ __ __ _   | ___|__ _ _ __| |__ ___ _ _ ___ 
  23. | | / _ | ' / _ | ' \  | _|/ _ | '_(__| '_ / _ | '_/ _ |
  24. \___\___|_||\__,|_||_| |_| \___|_| |__|____\___|_| \__ |
  25. A4000/040  *Better dead than MicroSoft!*  C64 CDTV |__/
  26.